<template>
  <div>
     <!-- ------------------列表------------------ -->
    <el-table :data="approvedMemoList" border style="width: 100%">
      <el-table-column prop="approvedMemoId" label="ID" width="180"></el-table-column>
      <el-table-column prop="productName" label="产品名称" width="180">
      </el-table-column>
      <el-table-column prop="approvedMemoDate" label="审核时间"> </el-table-column>
      <el-table-column prop="approvedMemoResult" label="审核结果">
        
         </el-table-column>
      <el-table-column prop="staffRealName" label="审核员工"> </el-table-column>
      <el-table-column prop="approvedMemoDesc" label="备注"> 
        <!-- 1 -->
        <template slot-scope="scope">                    
       <p v-if="scope.row.approvedMemoDesc=='0'">通过</p>
       <p v-if="scope.row.approvedMemoDesc=='1'">不通过</p>
    </template>
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  data() {
    return {
        approvedMemoList:[]
    };
  },
  methods: {
     loadRefound() {
      this.$axios.get("approved/queryAll").then((res) => {
        this.approvedMemoList = res.data.data.approvedMemoList;
      });
    },
  },
  mounted() {
    this.loadRefound();
  }
};
</script>